package com.openbravo.pos.printer;

import java.awt.image.BufferedImage;
import javax.swing.JComponent;

public abstract interface DevicePrinter
{
  public static final int SIZE_0 = 0;
  public static final int SIZE_1 = 1;
  public static final int SIZE_2 = 2;
  public static final int SIZE_3 = 3;
  public static final int STYLE_PLAIN = 0;
  public static final int STYLE_BOLD = 1;
  public static final int STYLE_UNDERLINE = 2;
  public static final int ALIGN_LEFT = 0;
  public static final int ALIGN_RIGHT = 1;
  public static final int ALIGN_CENTER = 2;
  public static final String BARCODE_EAN13 = "EAN13";
  public static final String BARCODE_CODE128 = "CODE128";
  public static final String POSITION_BOTTOM = "bottom";
  public static final String POSITION_NONE = "none";

  public abstract String getPrinterName();

  public abstract String getPrinterDescription();

  public abstract JComponent getPrinterComponent();

  public abstract void reset();

  public abstract void beginReceipt();

  public abstract void printImage(BufferedImage paramBufferedImage);

  public abstract void printBarCode(String paramString1, String paramString2, String paramString3);

  public abstract void beginLine(int paramInt);

  public abstract void printText(int paramInt, String paramString);

  public abstract void endLine();

  public abstract void endReceipt();

  public abstract void openDrawer();
}

/* Location:           D:\PowerFulPOS-2.30.2\openbravopos.jar
 * Qualified Name:     com.openbravo.pos.printer.DevicePrinter
 * JD-Core Version:    0.6.0
 */